<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<bean:define id="sCode1"  name="ITEM_VIEW_ATTR" scope="request" property="subjectCode"></bean:define>
<bean:define id="sItemType1" name="ITEM_VIEW_ATTR" scope="request" property="itemType"></bean:define>
<bean:define id="bgColor1" value="#FFFFFF"/>

<logic:equal name="sItemType1" value="5">
    <bean:define id="bgColor1" value="#7FC0D1"/>
    <html:img page="/images/userEnt/headEnt.gif" width="1003" height="68" />
</logic:equal>

<logic:notEqual name="sItemType1" value="5">
    <logic:equal name="sCode1" value="s01">
        <bean:define id="bgColor1" value="#ea9800"/>
        <html:img page="/images/userMath/headMath.gif" width="1003" height="68" />
    </logic:equal>
    <logic:equal name="sCode1" value="s02">
        <bean:define id="bgColor1" value="#0d92f6"/>
        <html:img page="/images/userPhy/headPhy.gif" width="1003" height="68" />
    </logic:equal>
    <logic:equal name="sCode1" value="s03">
        <bean:define id="bgColor1" value="#f175ae"/>
        <html:img page="/images/userChem/headchem.gif" width="1003" height="68" />
    </logic:equal>
    <logic:equal name="sCode1" value="s04">
        <bean:define id="bgColor1" value="#97c632"/>
        <html:img page="/images/userBio/headBio.gif" width="1003" height="68" />
    </logic:equal>
</logic:notEqual>



<style type="text/css">
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    background-color: <bean:write name="bgColor1"/>
}
</style>
        
        
        
        